<?php
global $VALUTA;
?>
<h1>Счета десятки</h1>

<a href='schet/edit/'>Добавить</a>
<br><br>

<script language="javascript" src='<?=config_item('js_path')?>js/table_list.js?<?=time()?>'></script>


<table class='list' cellspacing=0 style="width:auto;">
<thead>
	<tr>
		<th>Наименование</th>
		<th>Валюта</th>
		<th></th>
	</tr>
</thead>
<tbody>
<?php
	foreach($scheta as $s) 
	{
		?>
		<tr>
			<td><?=$s['name']?></td>
			<td><?=$VALUTA[$s['valuta']]?></td>
			<td class='action'>
				<a href='schet/edit/<?=$s['id']?>' title='Редактировать'><img src='<?=config_item('image_path')?>images/icons/edit.gif'></a>
			</td>
		</tr>
		<?php
}
 ?>
</tbody>
</table>



